import pandas as pd
import numpy as np
import matplotlib.pyplot as plt

data_train = pd.read_csv('./RawData/train.csv')

fig = plt.figure()
data_train.Survived.value_counts().plot(kind='bar')# 柱状图
plt.title(u"获救情况 (1为获救)") # 标题
plt.ylabel(u"人数")
plt.show()

